<?php
include_once 'lib/frontend.class.php';
$page = new Frontend();
if(!$page->IsProfileActive($_GET['id'])){
    $sesso="D";
    $tipo_class="L";
    include 'template/' . TEMPLATE_NAME . '/profile_disabled.php';
    return;
}   
$realyUrl = $page->GetRealyUrl($_GET['id']);
if($realyUrl==""){
	//Profilo inesistente
	header("HTTP/1.1 301 Moved Permanently");
	header("Location: http://www.escortfashion.com/404.php");
	exit();
} else if($realyUrl!=$page->curPageURL()){
	//Url profilo vecchio o scritto male
	header("HTTP/1.1 301 Moved Permanently");
	header("Location: ".$realyUrl);
	exit();
}	
include 'template/' . TEMPLATE_NAME . '/template_luxury.php';
 
?>
